package coredto

import (
	"core/class"
	"core/selfreg"
	"reflect"
)

type LoginUserPwdDto struct {
	Id int64 `json:"id,string"                         gorm:"column:id;primaryKey;comment:主键;autoIncrement:false;"`

	Ename string `json:"ename"                            gorm:"column:ename;DEFAULT:'';not null;comment:用户名;"`
	Pwd   string `json:"pwd"                              gorm:"column:pwd;DEFAULT:'';not null;comment:密码;"`
}

func init() {
	var mcls = &LoginUserPwdDto{}
	var m = &class.MyClass{
		Name:     "登录用户密码Dto",
		Ename:    "",
		FullName: "",
		Memo:     "",
		Fileds:   nil,
		PrjName:  "",
		Type:     reflect.TypeOf(mcls),
	}
	selfreg.AddDto(m)
}
